package com.chushouya.product.dto.admin.productsku;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("产品SKU数据DTO")
public class ProductSkuDataDTO {

    @ApiModelProperty("属性项ID")
    private Long attrId;

    @ApiModelProperty("属性项名称")
    private String attrName;

    @ApiModelProperty("属性值内容")
    private String valueContent;

    @ApiModelProperty("属性值ID")
    private Long valueId;

    /**
     * 构造函数
     */
    public ProductSkuDataDTO() {
    }

    /**
     * 带参构造函数
     */
    public ProductSkuDataDTO(Long attrId, String attrName, String valueContent, Long valueId) {
        this.attrId = attrId;
        this.attrName = attrName;
        this.valueContent = valueContent;
        this.valueId = valueId;
    }
}
